/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-05-28
 * Time: 15:45
 */
public class Dog {
    public String name;
    public String kind;
    public void print(){
        ;
    }
    public static void main(String[] args) {
        Dog dog1=new Dog();   //通过new进行实例化对象
        Dog dog2=new Dog();

        dog1.name="小黑";
        dog2.name="小白";

        dog1.kind="藏獒";
        dog2.kind="杜宾";

        dog1.print();
    }
}
